package com.inspur.icity.bus.api.user.model;

import com.inspur.icity.bus.base.core.model.AliasModel;

import java.util.Date;

public class BusSearchHistory implements AliasModel {
    private Integer id;

    private String mobile;

    private Integer userId;

    private Integer type;

    private String name;

    private String direction;

    private Integer updown;

    private Integer routeId;

    private String areacode;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Integer getUpdown() {
        return updown;
    }

    public void setUpdown(Integer updown) {
        this.updown = updown;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction == null ? null : direction.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRouteId() {
        return routeId;
    }

    public void setRouteId(Integer routeId) {
        this.routeId = routeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAreacode() {
        return areacode;
    }

    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    @Override
    public String toString() {
        return "UserSearch{" +
                "id=" + id +
                ", mobile='" + mobile + '\'' +
                ", userId=" + userId +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", direction='" + direction + '\'' +
                ", routeId=" + routeId +
                ", createTime=" + createTime +
                '}';
    }
}